package com.snakegame.dto;

import javax.validation.constraints.NotNull;

public class GameResultRequest {
    @NotNull(message = "分数不能为空")
    private Integer score;
    
    private Integer durationSeconds;
    
    private Integer levelReached;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getDurationSeconds() {
        return durationSeconds;
    }

    public void setDurationSeconds(Integer durationSeconds) {
        this.durationSeconds = durationSeconds;
    }

    public Integer getLevelReached() {
        return levelReached;
    }

    public void setLevelReached(Integer levelReached) {
        this.levelReached = levelReached;
    }
}